package com.blogs.web.game.type;

import com.blogs.web.game.Game;

/**
 * @Author: xiaokai
 * @Description: 海军陆战队战兵
 * @Date: 2019/8/18
 * @Version: 1.0
 */
public class Marine extends Game {

    public Marine(int x, int y) {
        super(6, 5, 40, x, y);

    }

    @Override
    public void show() {
        System.out.println("士兵出现在坐标：[" + x + "," + y + "]");
    }

    @Override
    public void attack() {
        System.out.println("士兵用机关枪射击，攻击力：" + attack);
    }
}
